package cn.hpclub.server.controller.h5;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.jfinal.core.Controller;

import cn.hpclub.server.model.DeviceVersion;

public class DownloadAppController extends Controller{
    private static final Logger logger = LoggerFactory.getLogger(DownloadAppController.class);

    /**
     * 
     * @Title: getHighestVersion
     * @Description:获取最新版本APP信息 void
     */
    public void getHighestVersion(){
        String type = getPara("type");
        DeviceVersion deviceVersion = DeviceVersion.dao.getHighestVersion(type);
        renderJson(deviceVersion);
    }
}
